Patterns for Asynchronous Invocations in Distributed Object Frameworks

نویسندگان

  • Markus Völter
  • Michael Kircher
  • Uwe Zdun
  • Michael Englbrecht
چکیده

The patterns in this paper introduce the four most commonly used techniques for providing client-side asynchrony in distributed object frameworks. FIRE AND FORGET describes besteffort delivery semantics for asynchronous operations that have void return types. SYNC WITH SERVER notifies the client only in case the delivery of the invocation to the server application fails. POLL OBJECTS provide clients with means to query the distributed object framework whether an asynchronous response for the request has arrived yet, and if so, to obtain the return value. RESULT CALLBACK actively notifies the requesting client of the returning result.

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

Pattern-Based Design of an Asynchronous Invocation Framework for Web Services

Asynchronous invocations are needed in the context of distributed object frameworks to prevent clients from blocking during remote invocations. Popular Web Service frameworks offer only synchronous invocations (over HTTP). An alternative are messaging protocols but these implement a different communication paradigm. When client asynchrony is not supported, client developers have to build asynch...

متن کامل

Design and Implementation of an Asynchronous Invocation Framework for Web Services

Asynchronous invocations are an important functionality in the context of distributed object frameworks, because in many situations clients should not block during remote invocations. There should be a loose coupling between clients and remote services. Popular web service frameworks, such as Apache Axis, offer only synchronous invocations (over HTTP). An alternative are messaging protocols but...

متن کامل

Analysis of synchronisation patterns in stateful active objects

This paper presents a static analysis technique based on effect and behavioural types for deriving synchronisation patterns of stateful active objects and verifying their safety – e.g. absence of deadlocks. This is challenging because active objects use futures to refer to results of pending asynchronous invocations and because these futures can be stored in object fields, passed as method para...

متن کامل

Asynchronous RMI for CentiJ

CentiJ is a software synthesis system that, until recently, used synchronous, semiautomatic static proxy delegation to help in the automation of the creation of distributed Java programs on NOWS (Networks of Workstations). This paper reports our recent extension to CentiJ so that invocations are asynchronous. Further, we have achieved transparency with respect to local vs. non-local asynchronou...

متن کامل

Structure and Interaction: Architectural Abstractions NOSA'98

Problem. An object-oriented software system consists of set of objects that interacts through a set of messages or method invocations. Throughout a system's lifetime objects gets created and garbage collected, thus a system is very dynamic in both its behaviour and con guration. Even with small or medium sized systems the complexity caused by the number of objects and method invocations makes i...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

عنوان ژورنال:

دوره   شماره 

صفحات  -

تاریخ انتشار 2003